package org.pixelami.twisted.spread.jelly
{
	public class __jelly__
	{
		
		public static function setInstanceState(inst:Object, unjellier:Object, jellyList:Array):Object
		{
			/*
		    """
		    Utility method to default to 'normal' state rules in unserialization.
		    """
		    */
		    var state:Object = unjellier.unjelly(jellyList[1]);
		    if (inst.hasOwnProperty("__setstate__"))
		    {
		        inst.__setstate__(state);
		    }
		    else
		    {
		        inst.__dict__ = state;
		    }
		    return inst;
		}
		
		
		public function __jelly__()
		{
		}

	}
}